/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Modele.Droit.Entites;

import Modele.Droit.RBAC.IAction;
import java.util.UUID;

/**
 *
 * @author Cyril
 */
public class Action implements IAction
{
    private UUID mIdAction;
    private String mNom;
    
    public Action(String pNom)
    {
        mIdAction = UUID.randomUUID();
        mNom = pNom;
    }
    
    public Action(UUID pUid, String pNom)
    {
        mIdAction = pUid;
        mNom = pNom;
    }
    
    public UUID getIdAction()
    {
        return mIdAction;
    }
    
    public String getNom()
    {
        return mNom;
    }
    
    public void setNom(String pNom)
    {
        mNom = pNom;
    }
}
